//
// Created by denglibin on 2020/6/30.
// 大端序小端序测试
#include <stdio.h>
int main30()
{
    int x = 0x1A2B3C4D;
    char *c = (char *)&x;
    // 4d 3c 2b 1a 低位在前面，小端序
    for (int i = 0; i < 4; i++)
    {
        printf("%x ", c[i]);
    }
    return 0;
}